<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>GraphicsAni | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_ani_graphicsani_.html">&quot;laya/ani/GraphicsAni&quot;</a>
				</li>
				<li>
					<a href="_laya_ani_graphicsani_.graphicsani.html">GraphicsAni</a>
				</li>
			</ul>
			<h1>Class GraphicsAni</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Graphic动画</p>
					</div>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="_laya_display_graphics_.graphics.html" class="tsd-signature-type">Graphics</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">GraphicsAni</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section tsd-is-inherited">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section tsd-is-inherited">
							<h3>Accessors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#cmds" class="tsd-kind-icon">cmds</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#addcmd" class="tsd-kind-icon">add<wbr>Cmd</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#alpha" class="tsd-kind-icon">alpha</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#clear" class="tsd-kind-icon">clear</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#cliprect" class="tsd-kind-icon">clip<wbr>Rect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#destroy" class="tsd-kind-icon">destroy</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawcircle" class="tsd-kind-icon">draw<wbr>Circle</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawcurves" class="tsd-kind-icon">draw<wbr>Curves</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawimage" class="tsd-kind-icon">draw<wbr>Image</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawline" class="tsd-kind-icon">draw<wbr>Line</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawlines" class="tsd-kind-icon">draw<wbr>Lines</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawpath" class="tsd-kind-icon">draw<wbr>Path</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawpie" class="tsd-kind-icon">draw<wbr>Pie</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawpoly" class="tsd-kind-icon">draw<wbr>Poly</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawrect" class="tsd-kind-icon">draw<wbr>Rect</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawtexture" class="tsd-kind-icon">draw<wbr>Texture</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawtextures" class="tsd-kind-icon">draw<wbr>Textures</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#drawtriangles" class="tsd-kind-icon">draw<wbr>Triangles</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#fillbordertext" class="tsd-kind-icon">fill<wbr>Border<wbr>Text</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#filltext" class="tsd-kind-icon">fill<wbr>Text</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#filltexture" class="tsd-kind-icon">fill<wbr>Texture</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#getbounds" class="tsd-kind-icon">get<wbr>Bounds</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#loadimage" class="tsd-kind-icon">load<wbr>Image</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#removecmd" class="tsd-kind-icon">remove<wbr>Cmd</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#restore" class="tsd-kind-icon">restore</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#rotate" class="tsd-kind-icon">rotate</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#save" class="tsd-kind-icon">save</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#scale" class="tsd-kind-icon">scale</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#stroketext" class="tsd-kind-icon">stroke<wbr>Text</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#transform" class="tsd-kind-icon">transform</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_laya_ani_graphicsani_.graphicsani.html#translate" class="tsd-kind-icon">translate</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_ani_graphicsani_.graphicsani.html#create" class="tsd-kind-icon">create</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_ani_graphicsani_.graphicsani.html#recycle" class="tsd-kind-icon">recycle</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Graphics<wbr>Ani<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:52</li>
								</ul>
							</aside>
							<h4 class="tsd-returns-title">Returns <a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
				<h2>Accessors</h2>
				<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
					<a name="cmds" class="tsd-anchor"></a>
					<h3>cmds</h3>
					<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> cmds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li>
						<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> cmds<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#cmds">cmds</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:148</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>命令流。存储了所有绘制命令。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4>
						</li>
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#cmds">cmds</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:152</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>命令流。存储了所有绘制命令。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>value: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="addcmd" class="tsd-anchor"></a>
					<h3>add<wbr>Cmd</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">add<wbr>Cmd<span class="tsd-signature-symbol">(</span>cmd<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#addcmd">addCmd</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:168</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>保存到命令流。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cmd: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="alpha" class="tsd-anchor"></a>
					<h3>alpha</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">alpha<span class="tsd-signature-symbol">(</span>alpha<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_alphacmd_.alphacmd.html" class="tsd-signature-type">AlphaCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#alpha">alpha</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:369</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置透明度。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>alpha: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_alphacmd_.alphacmd.html" class="tsd-signature-type">AlphaCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="clear" class="tsd-anchor"></a>
					<h3>clear</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">clear<span class="tsd-signature-symbol">(</span>recoverCmds<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#clear">clear</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:93</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>清空绘制命令。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> recoverCmds: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>是否回收绘图指令数组，设置为true，则对指令数组进行回收以节省内存开销，建议设置为true进行回收，但如果手动引用了数组，不建议回收</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="cliprect" class="tsd-anchor"></a>
					<h3>clip<wbr>Rect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">clip<wbr>Rect<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_cliprectcmd_.cliprectcmd.html" class="tsd-signature-type">ClipRectCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#cliprect">clipRect</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:308</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>设置剪裁区域，超出剪裁区域的坐标不显示。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X 轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y 轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5>width: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>宽度。</p>
									</div>
								</li>
								<li>
									<h5>height: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>高度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_cliprectcmd_.cliprectcmd.html" class="tsd-signature-type">ClipRectCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="destroy" class="tsd-anchor"></a>
					<h3>destroy</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#destroy">destroy</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:76</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>销毁此对象。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawcircle" class="tsd-anchor"></a>
					<h3>draw<wbr>Circle</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Circle<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, radius<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fillColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawcirclecmd_.drawcirclecmd.html" class="tsd-signature-type">DrawCircleCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawcircle">drawCircle</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:587</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制圆形。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>圆点X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>圆点Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>radius: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>半径。</p>
									</div>
								</li>
								<li>
									<h5>fillColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>填充颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineColor: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawcirclecmd_.drawcirclecmd.html" class="tsd-signature-type">DrawCircleCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawcurves" class="tsd-anchor"></a>
					<h3>draw<wbr>Curves</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Curves<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, points<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, lineColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawcurvescmd_.drawcurvescmd.html" class="tsd-signature-type">DrawCurvesCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawcurves">drawCurves</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:559</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制一系列曲线。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>points: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线段的点集合，格式[controlX, controlY, anchorX, anchorY...]。</p>
									</div>
								</li>
								<li>
									<h5>lineColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线段颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）线段宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawcurvescmd_.drawcurvescmd.html" class="tsd-signature-type">DrawCurvesCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawimage" class="tsd-anchor"></a>
					<h3>draw<wbr>Image</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Image<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawimagecmd_.drawimagecmd.html" class="tsd-signature-type">DrawImageCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawimage">drawImage</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:231</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制单独图片</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>texture: <a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>纹理。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> x: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）X轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> y: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）Y轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> width: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）宽度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> height: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）高度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawimagecmd_.drawimagecmd.html" class="tsd-signature-type">DrawImageCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawline" class="tsd-anchor"></a>
					<h3>draw<wbr>Line</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Line<span class="tsd-signature-symbol">(</span>fromX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fromY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, toX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, toY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, lineColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawlinecmd_.drawlinecmd.html" class="tsd-signature-type">DrawLineCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawline">drawLine</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:534</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制一条线。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>fromX: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X轴开始位置。</p>
									</div>
								</li>
								<li>
									<h5>fromY: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y轴开始位置。</p>
									</div>
								</li>
								<li>
									<h5>toX: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X轴结束位置。</p>
									</div>
								</li>
								<li>
									<h5>toY: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y轴结束位置。</p>
									</div>
								</li>
								<li>
									<h5>lineColor: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>颜色。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）线条宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawlinecmd_.drawlinecmd.html" class="tsd-signature-type">DrawLineCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawlines" class="tsd-anchor"></a>
					<h3>draw<wbr>Lines</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Lines<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, points<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, lineColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawlinescmd_.drawlinescmd.html" class="tsd-signature-type">DrawLinesCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawlines">drawLines</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:546</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制一系列线段。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的X轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的Y轴位置。</p>
									</div>
								</li>
								<li>
									<h5>points: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线段的点集合。格式:[x1,y1,x2,y2,x3,y3...]。</p>
									</div>
								</li>
								<li>
									<h5>lineColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线段颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）线段宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawlinescmd_.drawlinescmd.html" class="tsd-signature-type">DrawLinesCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawpath" class="tsd-anchor"></a>
					<h3>draw<wbr>Path</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Path<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, paths<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, brush<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, pen<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawpathcmd_.drawpathcmd.html" class="tsd-signature-type">DrawPathCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawpath">drawPath</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:627</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制路径。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>paths: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>路径集合，路径支持以下格式：[[&quot;moveTo&quot;,x,y],[&quot;lineTo&quot;,x,y],[&quot;arcTo&quot;,x1,y1,x2,y2,r],[&quot;closePath&quot;]]。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> brush: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）刷子定义，支持以下设置{fillStyle:&quot;#FF0000&quot;}。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pen: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）画笔定义，支持以下设置{strokeStyle,lineWidth,lineJoin:&quot;bevel|round|miter&quot;,lineCap:&quot;butt|round|square&quot;,miterLimit}。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawpathcmd_.drawpathcmd.html" class="tsd-signature-type">DrawPathCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawpie" class="tsd-anchor"></a>
					<h3>draw<wbr>Pie</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Pie<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, radius<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, startAngle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, endAngle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fillColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawpiecmd_.drawpiecmd.html" class="tsd-signature-type">DrawPieCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawpie">drawPie</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:602</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制扇形。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>radius: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>扇形半径。</p>
									</div>
								</li>
								<li>
									<h5>startAngle: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始角度。</p>
									</div>
								</li>
								<li>
									<h5>endAngle: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>结束角度。</p>
									</div>
								</li>
								<li>
									<h5>fillColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>填充颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineColor: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawpiecmd_.drawpiecmd.html" class="tsd-signature-type">DrawPieCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawpoly" class="tsd-anchor"></a>
					<h3>draw<wbr>Poly</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Poly<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, points<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, fillColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawpolycmd_.drawpolycmd.html" class="tsd-signature-type">DrawPolyCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawpoly">drawPoly</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:615</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制多边形。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>points: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>多边形的点集合。</p>
									</div>
								</li>
								<li>
									<h5>fillColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>填充颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineColor: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框宽度。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawpolycmd_.drawpolycmd.html" class="tsd-signature-type">DrawPolyCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawrect" class="tsd-anchor"></a>
					<h3>draw<wbr>Rect</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Rect<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, fillColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, lineColor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span>, lineWidth<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, percent<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawrectcmd_.drawrectcmd.html" class="tsd-signature-type">DrawRectCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawrect">drawRect</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:574</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制矩形。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 X 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制的 Y 轴位置。</p>
									</div>
								</li>
								<li>
									<h5>width: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>矩形宽度。</p>
									</div>
								</li>
								<li>
									<h5>height: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>矩形高度。</p>
									</div>
								</li>
								<li>
									<h5>fillColor: <span class="tsd-signature-type">any</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>填充颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineColor: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框颜色，或者填充绘图的渐变对象。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> lineWidth: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）边框宽度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> percent: <span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>位置和大小是否是百分比值。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawrectcmd_.drawrectcmd.html" class="tsd-signature-type">DrawRectCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawtexture" class="tsd-anchor"></a>
					<h3>draw<wbr>Texture</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Texture<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, matrix<span class="tsd-signature-symbol">?: </span><a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, alpha<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, color<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, blendMode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, uv<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawtexturecmd_.drawtexturecmd.html" class="tsd-signature-type">DrawTextureCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawtexture">drawTexture</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:249</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制纹理，相比drawImage功能更强大，性能会差一些</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>texture: <a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>纹理。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> x: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）X轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> y: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）Y轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> width: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）宽度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> height: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）高度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> matrix: <a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）矩阵信息。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> alpha: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）透明度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> color: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）颜色滤镜。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> blendMode: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）混合模式。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagOptional">Optional</span> uv: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawtexturecmd_.drawtexturecmd.html" class="tsd-signature-type">DrawTextureCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawtextures" class="tsd-anchor"></a>
					<h3>draw<wbr>Textures</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Textures<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a>, pos<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawtexturescmd_.drawtexturescmd.html" class="tsd-signature-type">DrawTexturesCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawtextures">drawTextures</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:260</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>批量绘制同样纹理。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>texture: <a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>纹理。</p>
									</div>
								</li>
								<li>
									<h5>pos: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>绘制次数和坐标。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawtexturescmd_.drawtexturescmd.html" class="tsd-signature-type">DrawTexturesCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="drawtriangles" class="tsd-anchor"></a>
					<h3>draw<wbr>Triangles</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">draw<wbr>Triangles<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, vertices<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, uvs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span>, indices<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint16Array</span>, matrix<span class="tsd-signature-symbol">?: </span><a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, alpha<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, color<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, blendMode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, colorNum<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_drawtrianglescmd_.drawtrianglescmd.html" class="tsd-signature-type">DrawTrianglesCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#drawtriangles">drawTriangles</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:278</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>绘制一组三角形</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>texture: <a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>纹理。</p>
									</div>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5>vertices: <span class="tsd-signature-type">Float32Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>顶点数组。</p>
									</div>
								</li>
								<li>
									<h5>uvs: <span class="tsd-signature-type">Float32Array</span></h5>
								</li>
								<li>
									<h5>indices: <span class="tsd-signature-type">Uint16Array</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>顶点索引。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> matrix: <a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>缩放矩阵。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> alpha: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>alpha</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> color: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>颜色变换</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> blendMode: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>blend模式</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> colorNum: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 4294967295</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_drawtrianglescmd_.drawtrianglescmd.html" class="tsd-signature-type">DrawTrianglesCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="fillbordertext" class="tsd-anchor"></a>
					<h3>fill<wbr>Border<wbr>Text</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">fill<wbr>Border<wbr>Text<span class="tsd-signature-symbol">(</span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, font<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, fillColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, textAlign<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, lineWidth<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, borderColor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#fillbordertext">fillBorderText</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:337</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>在画布上绘制“被填充且镶边的”文本。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>text: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>在画布上输出的文本。</p>
									</div>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 x 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 y 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>font: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义字体和字号，比如&quot;20px Arial&quot;。</p>
									</div>
								</li>
								<li>
									<h5>fillColor: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义文本颜色，比如&quot;#ff0000&quot;。</p>
									</div>
								</li>
								<li>
									<h5>textAlign: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>文本对齐方式，可选值：&quot;left&quot;，&quot;center&quot;，&quot;right&quot;。</p>
									</div>
								</li>
								<li>
									<h5>lineWidth: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>镶边线条宽度。</p>
									</div>
								</li>
								<li>
									<h5>borderColor: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义镶边文本颜色。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="filltext" class="tsd-anchor"></a>
					<h3>fill<wbr>Text</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">fill<wbr>Text<span class="tsd-signature-symbol">(</span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, font<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, textAlign<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#filltext">fillText</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:321</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>在画布上绘制文本。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>text: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>在画布上输出的文本。</p>
									</div>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 x 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 y 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>font: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义字号和字体，比如&quot;20px Arial&quot;。</p>
									</div>
								</li>
								<li>
									<h5>color: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义文本颜色，比如&quot;#ff0000&quot;。</p>
									</div>
								</li>
								<li>
									<h5>textAlign: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>文本对齐方式，可选值：&quot;left&quot;，&quot;center&quot;，&quot;right&quot;。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="filltexture" class="tsd-anchor"></a>
					<h3>fill<wbr>Texture</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">fill<wbr>Texture<span class="tsd-signature-symbol">(</span>texture<span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, type<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, offset<span class="tsd-signature-symbol">?: </span><a href="_laya_maths_point_.point.html" class="tsd-signature-type">Point</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_filltexturecmd_.filltexturecmd.html" class="tsd-signature-type">FillTextureCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#filltexture">fillTexture</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:294</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>用texture填充。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>texture: <a href="_laya_resource_texture_.texture.html" class="tsd-signature-type">Texture</a></h5>
									<div class="tsd-comment tsd-typography">
										<p>纹理。</p>
									</div>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>X轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>Y轴偏移量。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> width: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）宽度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> height: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）高度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> type: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;repeat&quot;</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）填充类型 repeat|repeat-x|repeat-y|no-repeat</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> offset: <a href="_laya_maths_point_.point.html" class="tsd-signature-type">Point</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）贴图纹理偏移</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_filltexturecmd_.filltexturecmd.html" class="tsd-signature-type">FillTextureCmd</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="getbounds" class="tsd-anchor"></a>
					<h3>get<wbr>Bounds</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Bounds<span class="tsd-signature-symbol">(</span>realSize<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_maths_rectangle_.rectangle.html" class="tsd-signature-type">Rectangle</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#getbounds">getBounds</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:208</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取位置及宽高信息矩阵(比较耗CPU，频繁使用会造成卡顿，尽量少用)。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> realSize: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）使用图片的真实大小，默认为false</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_maths_rectangle_.rectangle.html" class="tsd-signature-type">Rectangle</a></h4>
							<p>位置与宽高组成的 一个 Rectangle 对象。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="loadimage" class="tsd-anchor"></a>
					<h3>load<wbr>Image</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">load<wbr>Image<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, height<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, complete<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#loadimage">loadImage</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:486</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>加载并显示一个图片。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>url: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>图片地址。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> x: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）显示图片的x位置。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> y: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）显示图片的y位置。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> width: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）显示图片的宽度，设置为0表示使用图片默认宽度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> height: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）显示图片的高度，设置为0表示使用图片默认高度。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> complete: <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> = null</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）加载完成回调。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="removecmd" class="tsd-anchor"></a>
					<h3>remove<wbr>Cmd</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Cmd<span class="tsd-signature-symbol">(</span>cmd<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#removecmd">removeCmd</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:187</li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>cmd: <span class="tsd-signature-type">any</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="restore" class="tsd-anchor"></a>
					<h3>restore</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">restore<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_restorecmd_.restorecmd.html" class="tsd-signature-type">RestoreCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#restore">restore</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:423</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>返回之前保存过的路径状态和属性。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_restorecmd_.restorecmd.html" class="tsd-signature-type">RestoreCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="rotate" class="tsd-anchor"></a>
					<h3>rotate</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">rotate<span class="tsd-signature-symbol">(</span>angle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pivotX<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, pivotY<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_rotatecmd_.rotatecmd.html" class="tsd-signature-type">RotateCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#rotate">rotate</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:389</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>旋转当前绘图。(推荐使用transform，性能更高)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>angle: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>旋转角度，以弧度计。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotX: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）水平方向轴心点坐标。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotY: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）垂直方向轴心点坐标。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_rotatecmd_.rotatecmd.html" class="tsd-signature-type">RotateCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="save" class="tsd-anchor"></a>
					<h3>save</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">save<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_savecmd_.savecmd.html" class="tsd-signature-type">SaveCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#save">save</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:416</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>保存当前环境的状态。</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_savecmd_.savecmd.html" class="tsd-signature-type">SaveCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="scale" class="tsd-anchor"></a>
					<h3>scale</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">scale<span class="tsd-signature-symbol">(</span>scaleX<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, scaleY<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, pivotX<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, pivotY<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_scalecmd_.scalecmd.html" class="tsd-signature-type">ScaleCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#scale">scale</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:400</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>缩放当前绘图至更大或更小。(推荐使用transform，性能更高)</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>scaleX: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>水平方向缩放值。</p>
									</div>
								</li>
								<li>
									<h5>scaleY: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>垂直方向缩放值。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotX: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）水平方向轴心点坐标。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotY: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）垂直方向轴心点坐标。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_scalecmd_.scalecmd.html" class="tsd-signature-type">ScaleCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="stroketext" class="tsd-anchor"></a>
					<h3>stroke<wbr>Text</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">stroke<wbr>Text<span class="tsd-signature-symbol">(</span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, font<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, lineWidth<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, textAlign<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#stroketext">strokeText</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:361</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>在画布上绘制文本（没有填色）。文本的默认颜色是黑色。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>text: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>在画布上输出的文本。</p>
									</div>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 x 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>开始绘制文本的 y 坐标位置（相对于画布）。</p>
									</div>
								</li>
								<li>
									<h5>font: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义字体和字号，比如&quot;20px Arial&quot;。</p>
									</div>
								</li>
								<li>
									<h5>color: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>定义文本颜色，比如&quot;#ff0000&quot;。</p>
									</div>
								</li>
								<li>
									<h5>lineWidth: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>线条宽度。</p>
									</div>
								</li>
								<li>
									<h5>textAlign: <span class="tsd-signature-type">string</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>文本对齐方式，可选值：&quot;left&quot;，&quot;center&quot;，&quot;right&quot;。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_filltextcmd_.filltextcmd.html" class="tsd-signature-type">FillTextCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="transform" class="tsd-anchor"></a>
					<h3>transform</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">transform<span class="tsd-signature-symbol">(</span>matrix<span class="tsd-signature-symbol">: </span><a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a>, pivotX<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, pivotY<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_transformcmd_.transformcmd.html" class="tsd-signature-type">TransformCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#transform">transform</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:379</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>替换绘图的当前转换矩阵。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>matrix: <a href="_laya_maths_matrix_.matrix.html" class="tsd-signature-type">Matrix</a></h5>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotX: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）水平方向轴心点坐标。</p>
									</div>
								</li>
								<li>
									<h5><span class="tsd-flag ts-flagDefault value">Default value</span> pivotY: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>（可选）垂直方向轴心点坐标。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_transformcmd_.transformcmd.html" class="tsd-signature-type">TransformCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
					<a name="translate" class="tsd-anchor"></a>
					<h3>translate</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
						<li class="tsd-signature tsd-kind-icon">translate<span class="tsd-signature-symbol">(</span>tx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, ty<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_display_cmd_translatecmd_.translatecmd.html" class="tsd-signature-type">TranslateCmd</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Inherited from <a href="_laya_display_graphics_.graphics.html">Graphics</a>.<a href="_laya_display_graphics_.graphics.html#translate">translate</a></p>
								<ul>
									<li>Defined in laya/display/Graphics.ts:409</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>重新映射画布上的 (0,0) 位置。</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>tx: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>ty: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="_laya_display_cmd_translatecmd_.translatecmd.html" class="tsd-signature-type">TranslateCmd</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="create" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> create</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/ani/GraphicsAni.ts:24</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>获取一个GraphicsAni</p>
								</div>
							</div>
							<h4 class="tsd-returns-title">Returns <a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
					<a name="recycle" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> recycle</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
						<li class="tsd-signature tsd-kind-icon">recycle<span class="tsd-signature-symbol">(</span>graphics<span class="tsd-signature-symbol">: </span><a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in laya/ani/GraphicsAni.ts:34</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>回收清理GraphicAni</p>
								</div>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>graphics: <a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-signature-type">GraphicsAni</a></h5>
									<div class="tsd-comment tsd-typography">
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class="globals  ">
						<a href="../globals.html"><em>Globals</em></a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/_laya_ani_graphicsani_.html">&quot;laya/ani/<wbr>Graphics<wbr>Ani&quot;</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="_laya_ani_graphicsani_.graphicsani.html" class="tsd-kind-icon">Graphics<wbr>Ani</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#cmds" class="tsd-kind-icon">cmds</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#addcmd" class="tsd-kind-icon">add<wbr>Cmd</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#alpha" class="tsd-kind-icon">alpha</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#clear" class="tsd-kind-icon">clear</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#cliprect" class="tsd-kind-icon">clip<wbr>Rect</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#destroy" class="tsd-kind-icon">destroy</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawcircle" class="tsd-kind-icon">draw<wbr>Circle</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawcurves" class="tsd-kind-icon">draw<wbr>Curves</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawimage" class="tsd-kind-icon">draw<wbr>Image</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawline" class="tsd-kind-icon">draw<wbr>Line</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawlines" class="tsd-kind-icon">draw<wbr>Lines</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawpath" class="tsd-kind-icon">draw<wbr>Path</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawpie" class="tsd-kind-icon">draw<wbr>Pie</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawpoly" class="tsd-kind-icon">draw<wbr>Poly</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawrect" class="tsd-kind-icon">draw<wbr>Rect</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawtexture" class="tsd-kind-icon">draw<wbr>Texture</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawtextures" class="tsd-kind-icon">draw<wbr>Textures</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#drawtriangles" class="tsd-kind-icon">draw<wbr>Triangles</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#fillbordertext" class="tsd-kind-icon">fill<wbr>Border<wbr>Text</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#filltext" class="tsd-kind-icon">fill<wbr>Text</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#filltexture" class="tsd-kind-icon">fill<wbr>Texture</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#getbounds" class="tsd-kind-icon">get<wbr>Bounds</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#loadimage" class="tsd-kind-icon">load<wbr>Image</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#removecmd" class="tsd-kind-icon">remove<wbr>Cmd</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#restore" class="tsd-kind-icon">restore</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#rotate" class="tsd-kind-icon">rotate</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#save" class="tsd-kind-icon">save</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#scale" class="tsd-kind-icon">scale</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#stroketext" class="tsd-kind-icon">stroke<wbr>Text</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#transform" class="tsd-kind-icon">transform</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a href="_laya_ani_graphicsani_.graphicsani.html#translate" class="tsd-kind-icon">translate</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_ani_graphicsani_.graphicsani.html#create" class="tsd-kind-icon">create</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
								<a href="_laya_ani_graphicsani_.graphicsani.html#recycle" class="tsd-kind-icon">recycle</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer>
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
				<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
				<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
				<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>